home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _16F3FBADC8DB43CA85FD78568144B3D1 < prev    next >
Encoding:
Text File  |  2004-01-06  |  4.8 KB  |  131 lines

  1. --------------------------------------------------
  2. --    Created By: Petar
  3. --   Description: <short_description>
  4. --------------------------
  5. --
  6.  
  7. AIBehaviour.RearScramble = {
  8.     Name = "RearScramble",
  9.  
  10.     -- SYSTEM EVENTS            -----
  11.     ---------------------------------------------
  12.     OnSelected = function( self, entity )    
  13.     end,
  14.     ---------------------------------------------
  15.     OnSpawn = function( self, entity )
  16.         -- called when enemy spawned or reset
  17.     end,
  18.     ---------------------------------------------
  19.     OnActivate = function( self, entity )
  20.         -- called when enemy receives an activate event (from a trigger, for example)
  21.     end,
  22.     ---------------------------------------------
  23.     OnNoTarget = function( self, entity )
  24.         -- called when the enemy stops having an attention target
  25.     end,
  26.     ---------------------------------------------
  27.     OnPlayerSeen = function( self, entity, fDistance )
  28.         -- called when the enemy sees a living player
  29.     end,
  30.     ---------------------------------------------
  31.     OnEnemySeen = function( self, entity )
  32.         -- called when the enemy sees a foe which is not a living player
  33.     end,
  34.     ---------------------------------------------
  35.     OnFriendSeen = function( self, entity )
  36.         -- called when the enemy sees a friendly target
  37.     end,
  38.     ---------------------------------------------
  39.     OnDeadBodySeen = function( self, entity )
  40.         -- called when the enemy a dead body
  41.     end,
  42.     ---------------------------------------------
  43.     OnEnemyMemory = function( self, entity )
  44.         -- called when the enemy can no longer see its foe, but remembers where it saw it last
  45.     end,
  46.     ---------------------------------------------
  47.     OnInterestingSoundHeard = function( self, entity )
  48.         -- called when the enemy hears an interesting sound
  49.     end,
  50.     ---------------------------------------------
  51.     OnThreateningSoundHeard = function( self, entity )
  52.         -- called when the enemy hears a scary sound
  53.     end,
  54.     ---------------------------------------------
  55.     OnReload = function( self, entity )
  56.         -- called when the enemy goes into automatic reload after its clip is empty
  57.     end,
  58.     ---------------------------------------------
  59.     OnGroupMemberDied = function( self, entity )
  60.         -- called when a member of the group dies
  61.     end,
  62.     ---------------------------------------------
  63.     OnNoHidingPlace = function( self, entity, sender )
  64.         -- called when no hiding place can be found with the specified parameters
  65.     end,    
  66.     ---------------------------------------------
  67.     OnReceivingDamage = function ( self, entity, sender)
  68.         -- called when the enemy is damaged
  69.     end,
  70.     ---------------------------------------------
  71.     OnCoverRequested = function ( self, entity, sender)
  72.         -- called when the enemy is damaged
  73.     end,
  74.  
  75.  
  76.     ---------------------------------------------    
  77.     REAR_NORMALATTACK = function (self, entity, sender)
  78.         entity:SelectPipe(0,"rear_comeout");
  79.     end,
  80.  
  81.  
  82.     -- GROUP SIGNALS
  83.     ---------------------------------------------    
  84.     KEEP_FORMATION = function (self, entity, sender)
  85.         -- the team leader wants everyone to keep formation
  86.     end,
  87.     ---------------------------------------------    
  88.     BREAK_FORMATION = function (self, entity, sender)
  89.         -- the team can split
  90.     end,
  91.     ---------------------------------------------    
  92.     SINGLE_GO = function (self, entity, sender)
  93.         -- the team leader has instructed this group member to approach the enemy
  94.     end,
  95.     ---------------------------------------------    
  96.     GROUP_COVER = function (self, entity, sender)
  97.         -- the team leader has instructed this group member to cover his friends
  98.     end,
  99.     ---------------------------------------------    
  100.     IN_POSITION = function (self, entity, sender)
  101.         -- some member of the group is safely in position
  102.     end,
  103.     ---------------------------------------------    
  104.     GROUP_SPLIT = function (self, entity, sender)
  105.         -- team leader instructs group to split
  106.     end,
  107.     ---------------------------------------------    
  108.     PHASE_RED_ATTACK = function (self, entity, sender)
  109.         -- team leader instructs red team to attack
  110.     end,
  111.     ---------------------------------------------    
  112.     PHASE_BLACK_ATTACK = function (self, entity, sender)
  113.         -- team leader instructs black team to attack
  114.     end,
  115.     ---------------------------------------------    
  116.     GROUP_MERGE = function (self, entity, sender)
  117.         -- team leader instructs groups to merge into a team again
  118.     end,
  119.     ---------------------------------------------    
  120.     CLOSE_IN_PHASE = function (self, entity, sender)
  121.         -- team leader instructs groups to initiate part one of assault fire maneuver
  122.     end,
  123.     ---------------------------------------------    
  124.     ASSAULT_PHASE = function (self, entity, sender)
  125.         -- team leader instructs groups to initiate part one of assault fire maneuver
  126.     end,
  127.     ---------------------------------------------    
  128.     GROUP_NEUTRALISED = function (self, entity, sender)
  129.         -- team leader instructs groups to initiate part one of assault fire maneuver
  130.     end,
  131. }